{% extends "base.html" %}
{% block header %}编辑卡信息{% endblock %}
{% block content %}
<div class="container">
    <h2>编辑卡信息</h2>
    <form method="post">
        {% csrf_token %}
        <div class="row">
            <div class="">
                <label>ICCID</label>
                <input type="text" name="iccid" class="form-control" value="{{ card.iccid }}" required>
            </div>
            <div class="">
                <label>MSISDN</label>
                <input type="text" name="msisdn" class="form-control" value="{{ card.msisdn }}">
            </div>
        </div>
        <button type="submit" class="btn btn-success">保存</button>
        <a href="/cards/" class="btn btn-secondary ms-2">取消</a>
    </form>
</div>
{% endblock %}
